﻿using System.Collections.Generic;

namespace NanoGedcom
{
    /// <summary>
    /// The Family class is used to record marriages and family unions caused by two people becoming the parents of a child.
    /// </summary>
    public class Family(string id)
    {
        /// <summary>
        /// Unique identifier
        /// </summary>
        public string Id { get; } = id;
        /// <summary>
        /// Mother of this family
        /// </summary>
        public Individu Wife { get; set; } = null;
        /// <summary>
        /// Father of this family
        /// </summary>
        public Individu Husband { get; set; } = null;
        /// <summary>
        /// List of childrens
        /// </summary>
        public List<Individu> Childs { get; } = new List<Individu>();
        /// <summary>
        /// The reported number of children known to belong to this family. This is not necessarily the value of Childs.Count.
        /// </summary>
        public int? KnowChilds { get; set; } = null;



    }
}
